package com.str.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: ZhangWu, Anything is possible!
 * @CreateTime: 2023/04/11 23:09
 * @Description: 启用/禁用请求dto
 */
@Data
@ApiModel("启用/禁用请求dto")
public class EnableDisableSystemUserDto {

    /**
     * 解冻/冻结,1:解冻，2：冻结
     */
    @ApiModelProperty(value = "解冻/冻结,1:解冻，2：冻结")
    @NotNull(message = "解冻/冻结标志不能为空")
    private Integer enableDisable;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    @NotNull(message = "用户id不能为空")
    private String userId;
}
